
<html>
<head>
</head>
<body>
<div id="star">
    <input type="text">
    <h1>你好</h1>
    <h2>真好啊</h2>
</div>
<div>1</div>
</body>
<script>
        var div=document.getElementById("star");
        div.style.display='none';

        var blog='';
        for (var i=0;i<data.length;i++){
            var blognew=data[i]._source;
            blog +='<div class="blogbody">\n' +
                '        < a href=" '+data[i]._id+')"><h3>'+blognew.blogtitle+'</h3></ a>\n' +
                '        <h5>作者：<b>'+blognew.blogauthors+'</b></h5>\n' +
                '        <h5>发布时间：<b>'+blognew.blogsubmittime+'</b></h5>\n' +
                '        <h5>标签：<b>'+blognew.bloglable+'</b></h5>\n' +
                '    </div>';
        }
        $("#mybody").html(blog);
</script>
</html>